package com.easpeed.elevator.event;

public class GetSerialMessageEvent {

    public byte[] message;
    public int size;
    public String data;
    public String device;

    public GetSerialMessageEvent(){

    }
    public GetSerialMessageEvent(byte[] message, int size) {
        this.message = message;
        this.size = size;
    }

    public GetSerialMessageEvent(byte[] message, int size,String data,String device) {
        this.message = message;
        this.size = size;
        this.data = data;
        this.device = device;
    }

}
